import Mock from "mockjs"
import { getChinaIndex,getHongKongStockConnectFundFlow,getNewListing,getSectorFlows,getSecuritiesExpress } from "./module/module1.js"

//创建mock对象
const { mock }=Mock

mock(/api\/china-index\?/,"get",getChinaIndex)          //中国指数
mock(/api\/new-stocks\/page\?/,"get",getNewListing)     //新股上市
mock("/api/stock-news","get",getSecuritiesExpress)       //证券快讯
mock("/api/hk-connect-funds","get",getHongKongStockConnectFundFlow)          //港股通资金流
mock("/api/sector-funds","get",getSectorFlows)          //板块资金流
